# def f(n):
#     sum=0.0
#     if n%2 == 1:
#         for i in range(1, n+1, 2):
#             sum += 1/i
#     else:
#         for i in range(2, n+1, 2):
#             sum += 1/i
#     return sum
# if __name__ == '__main__':
#     n=int(input('please input n:'))
#     print(f(n))
#
# MAX = lambda x, y:(x>y)*x + (y>x)*y
# MIN = lambda x, y:(x<y)*x + (y<x)*y
# if __name__ == '__main__':
#     print('max={0} , min={1}'.format(MAX(10,2), MIN(10,2)))

x = int(input('please input x:'))
y = int(input('please input y:'))
z = int(input('please input z:'))
if x > y :
    x, y = y, x
if x > z :
    x, z = z, x
if y > z :
    y, z = z, y
print(x,y,z)


